<?php

/*

 This Class Tests the PEAR DB connection

*/

require_once ("PEAR.php");
require_once ("DB.php");
require_once ('../includes/classes/Settings.php');
class TestDateMgr extends UnitTestCase {        
	function TestDateMgr() {    	$this->UnitTestCase('Date Manager');    }       
    
    function testGetDBDetails{		$settings = new Settings();		$settings->load('config.php');				echo 'PHP: ' . $settings->get('db.host') . '';
    	
		$this->assertEquals("localhost", $Config->dbHost, 'Connect to DB using config variables');
    }    
    
}
?>